package shop.pojo;

public class Goods {
	private int g_id;
	private String g_name;
	private float price;
	private int numbers;
	private int gc_id;
	private int gb_id;
	private int is_on;
	private int is_on_sale;
	private int is_on_push;
	private String g_pic;
	private String g_desc;
	private Brand brand;
	private Caterage caterage;
	public Brand getBrand() {
		return brand;
	}
	public void setBrand(Brand brand) {
		this.brand = brand;
	}
	public Caterage getCaterage() {
		return caterage;
	}
	public void setCaterage(Caterage caterage) {
		this.caterage = caterage;
	}
	public int getG_id() {
		return g_id;
	}
	public void setG_id(int g_id) {
		this.g_id = g_id;
	}
	public String getG_name() {
		return g_name;
	}
	public void setG_name(String g_name) {
		this.g_name = g_name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public int getNumbers() {
		return numbers;
	}
	public void setNumbers(int numbers) {
		this.numbers = numbers;
	}
	public int getGc_id() {
		return gc_id;
	}
	public void setGc_id(int gc_id) {
		this.gc_id = gc_id;
	}
	public int getGb_id() {
		return gb_id;
	}
	public void setGb_id(int gb_id) {
		this.gb_id = gb_id;
	}
	public int getIs_on() {
		return is_on;
	}
	public void setIs_on(int is_on) {
		this.is_on = is_on;
	}
	public int getIs_on_sale() {
		return is_on_sale;
	}
	public void setIs_on_sale(int is_on_sale) {
		this.is_on_sale = is_on_sale;
	}
	public int getIs_on_push() {
		return is_on_push;
	}
	public void setIs_on_push(int is_on_push) {
		this.is_on_push = is_on_push;
	}
	public String getG_pic() {
		return g_pic;
	}
	public void setG_pic(String g_pic) {
		this.g_pic = g_pic;
	}
	public String getG_desc() {
		return g_desc;
	}
	public void setG_desc(String g_desc) {
		this.g_desc = g_desc;
	}
	@Override
	public String toString() {
		return "Goods [g_id=" + g_id + ", g_name=" + g_name + ", price=" + price + ", numbers=" + numbers + ", gc_id="
				+ gc_id + ", gb_id=" + gb_id + ", is_on=" + is_on + ", is_on_sale=" + is_on_sale + ", is_on_push="
				+ is_on_push + ", g_pic=" + g_pic + ", g_desc=" + g_desc + "]";
	}
	
	
	
}
